Skip to content

[WIP] Megatron-LM specific release v2.10 rocm cherrypicks#499

Draft
sudhu2k wants to merge 2 commits intorelease_v2.10_rocmfrom
sudhu/release_v2.10_rocm_cherrypicks
Draft

[WIP] Megatron-LM specific release v2.10 rocm cherrypicks#499
sudhu2k wants to merge 2 commits intorelease_v2.10_rocmfrom
sudhu/release_v2.10_rocm_cherrypicks

Conversation

@sudhu2k
Copy link
Contributor

@sudhu2k sudhu2k commented Mar 20, 2026

Description

These cherry picks fixes some issues that's seen in Megatron-LM unit test runs.

Type of change

  • Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refactoring

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

sudhu2k and others added 2 commits March 20, 2026 00:17
* Update max_fp8 value based on is_fp8_fnuz check in utils.py

* Fixed and added test_cast_master_weights_to_fp8 to ci

Addressed Reviews

* Update copyright information.

---------

Co-authored-by: Veera Gopu <veerarajasekharreddy.gopu@amd.com>
* Refactor test_cast_master_weights_to_fp8 to use executable directly without resolving symlinks, preventing potential issues with virtual environments.

* Enhance test_cast_master_weights_to_fp8 for AMDGPU portability and update comments for ROCm compatibility.
@sudhu2k sudhu2k changed the title [WIP] Megatron-LM specific release v2.8 rocm cherrypicks [WIP] Megatron-LM specific release v2.10 rocm cherrypicks Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant